package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.member;

import com.gzhryc.common.api.SecurityResponse;
import com.gzhryc.jdbc.annotaion.Column;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class MemberCouponListResponse extends SecurityResponse<MemberCouponListResponse.Body> {

    private static final long serialVersionUID = 1L;

    public MemberCouponListResponse() {
        this.body = new Body();
    }

    public MemberCouponListResponse(Integer code) {
        this.body = new Body();
        this.code = code;
    }

    public MemberCouponListResponse(Integer code, String msg) {
        this.body = new Body();
        this.code = code;
        this.msg = msg;
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }

    public static class Item {

        private Long activityId;
        private String title;
        private String note;
        private String couponInfo;
        protected Date startDate;
        protected Date endDate;

        public Long getActivityId() {
            return activityId;
        }

        public void setActivityId(Long activityId) {
            this.activityId = activityId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public String getCouponInfo() {
            return couponInfo;
        }

        public void setCouponInfo(String couponInfo) {
            this.couponInfo = couponInfo;
        }

        public Date getStartDate() {
            return startDate;
        }

        public void setStartDate(Date startDate) {
            this.startDate = startDate;
        }

        public Date getEndDate() {
            return endDate;
        }

        public void setEndDate(Date endDate) {
            this.endDate = endDate;
        }
    }
}
